/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package demo902;

import ch02.*;

/**
 *
 * @author Administrator
 */
public class ArrayDemo {
    public static void main(String args[]){
      int a[]=new int[5];
      a[0]=5;
      a[1]=10;
      a[2]=15;
      a[3]=20;
      a[4]=25;
      for(int i=0;i<5;i++){
          a[i]=(i+1)*5;
      }
      System.out.println(a[0]);
      System.out.println(a[1]);
      System.out.println(a[2]);
      System.out.println(a[3]);
      System.out.println(a[4]);
      for(int i=0;i<5;i++){
          System.out.println(a[i]);
      }
    }
}
